package pub.xspace.nova.common.exception;

import lombok.Data;
import lombok.EqualsAndHashCode;

@Data
@EqualsAndHashCode(callSuper=false)
public class CommonException extends RuntimeException {

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	private int code;
	private String msg;

	public CommonException(int code, String msg) {
		this.code = code;
		this.msg = msg;
	}

}
